<div class="wizard">
    <a href="<?php if($current == 'create') echo $this->createUrl('unitProject/create');
    				else echo $this->createUrl('unitProject/describe', array('id'=>$model->id));?>" 
    	<?php 	if($current == 'describe' || $current == 'create') echo ' class="current"';
    			else echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'describe' || $current == 'create') echo ' badge-inverse';
    							else echo ' badge-success';?>">1</span> <?php echo Yii::t('project','Unit Project Describe');?>
    </a>
    <a<?php if($model->divide_projects_status == 1 || $current == 'sub')echo ' href="' . $this->createUrl('unitProject/sub', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'sub') echo ' class="current"';
    			else if($model->divide_projects_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'sub') echo ' badge-inverse';
    							else if($model->divide_projects_status == 1) echo ' badge-success';?>">2</span> <?php echo Yii::t('project','Unit Project Subdivision');?>
    </a>
    <a<?php if($model->end_work_status == 1 || $current == 'end')echo ' href="' . $this->createUrl('unitProject/end', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'end') echo ' class="current"';
    			else if($model->end_work_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'end') echo ' badge-inverse';
    							else if($model->end_work_status == 1) echo ' badge-success';?>">3</span> <?php echo Yii::t('project','Unit Project Completion and Acceptance');?>
    </a>
</div>